//
//  Stack.h
//  KLGenerateSpamCode
//
//  Created by lxm on 2023/4/24.
//  Copyright © 2023 GAEA. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface Stack : NSObject

@property (nonatomic, strong) NSMutableArray *elements;

- (void)push:(id)element;
- (id)pop;
- (id)getTop;
- (BOOL)isEmpty;
@end



NS_ASSUME_NONNULL_END
